import React from 'react'
import style from './style.app'
import { validate } from './helper'

export default () => (
	<div className={style.root}>
    {
      [
        'isShallowEqual([{a: "hello"}], [{a: "hello"}])|true',
        'isShallowEqual("a", "a")|true',
        'isShallowEqual(1, "1")|true',
        'isShallowEqual(null, undefined)|true',
        'isShallowEqual([1, 2, 3], ["1", "2", "3"])|true',
        'isShallowEqual([{a: "hello"}], [{b: "hello"}])|false',
        'isShallowEqual({a: "a"}, {a: "a", b: "b"})|false',
      ].map(validate)
    }
	</div>
)
